<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第二题</title>
    <style>
        div p{
            color: red;
        }
        /* 继承权重最低 */
        .fater{
            color: blue;
        }
    </style>
</head>
<body>
    <div class="fater">
        <p class="son">
            文本
        </p>
    </div>
</body>
</html>